class PhotoRow < ActiveRecord::Base
  belongs_to :group_photo
  def users
    users =[]
    if self.conventioners
      self.conventioners.split(',').each do |conventioner|
        user = Conventioner.find(conventioner)
        if user
          users << user
        end
      end
    end
    users
  end
end
